package util;

public class PrintUtils {
    public static void PrintArray(int[] array) {
        for (int i = 0; i < array.length; i++) {
            if (i % 20 != 0) { System.out.print(", "); } else { if (i != 0) System.out.println();}
            System.out.print(array[i]);
        }
        System.out.println();
    }

    public static void PrintArrayNumber(int[] array) {
        boolean is = true;
        for (int j : array) {
            if (j != 0 || !is) {
                is = false;
                System.out.print(j);
            }
        }
    }
}
